FHIR Error API Policy

(0 reviews)

Setup guide

Publishing the policy

  1. Log into the Anypoint Platform.
  2. Navigate to Anypoint Exchange.
  3. Locate the FHIR Error API Policy.
  4. Click the 'Download as Custom file' option:resources/image-87fbf466-bb21-4c15-8fcd-3639a816ba91.png
  5. Unzip the asset to an empty directory.
  6. Using the command line, open the unzipped folder.
  7. Ensure the settings.xml file has a server entry corresponding to exchange-server, which should enlist a user with Anypoint Exchange Contributor permissions:
    exchange-server platform\_user password
  8. Run the script provided by providing the Exchange organization id as the parameter:
    ./deploy.sh some-org-id-value

Modifications

If additional error types need to be handled by this custom policy, modify the policy's template.xml file.

Chain policies in API Manager

API Manager can be used to chain policies to return OperationOutcome format errors from other OOTB policies. The FHIR Error API Policy should be applied first, followed by other authentication/quality of service policies to achieve the required goal.


Reviews

TypeCustom
OrganizationMulesoft
Published by
MuleSoft Organization
Published onDec 14, 2022
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.0